Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for compiling with Java 21 #16594

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Conversation

holgerfriedrich
Copy link
Member

  • Support Java 17 and 21, default compilation to Java 17 class files
  • Add profile "j21" to compile to Java 21 class files
  • Bump ecj to 3.36.0

Note that this PR does not fully cover all measures required for Java 21. I factored out changes to persistence.jpa: #16591.

Refs: openhab/openhab-distro#1590

@holgerfriedrich holgerfriedrich requested a review from a team as a code owner March 31, 2024 16:44
@holgerfriedrich holgerfriedrich added the enhancement An enhancement or new feature for an existing add-on label Mar 31, 2024
* Support Java 17 and 21, default compilation to Java 17 class files
* Add profile "j21" to compile to Java 21 class files
* Bump ecj to 3.36.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@wborn wborn merged commit b3ba1df into openhab:main Apr 1, 2024
3 checks passed
@wborn wborn added this to the 4.2 milestone Apr 1, 2024
@holgerfriedrich holgerfriedrich deleted the pr-java21 branch April 1, 2024 12:12
lo92fr pushed a commit to lo92fr/openhab-addons that referenced this pull request Apr 30, 2024
* Support Java 17 and 21, default compilation to Java 17 class files
* Add profile "j21" to compile to Java 21 class files
* Bump ecj to 3.36.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
adr001db pushed a commit to adr001db/openhab-addons that referenced this pull request May 12, 2024
* Support Java 17 and 21, default compilation to Java 17 class files
* Add profile "j21" to compile to Java 21 class files
* Bump ecj to 3.36.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Signed-off-by: Alexander Drent <Alex@Drent-ict.nl>
pgfeller pushed a commit to pgfeller/openhab-addons that referenced this pull request Sep 29, 2024
* Support Java 17 and 21, default compilation to Java 17 class files
* Add profile "j21" to compile to Java 21 class files
* Bump ecj to 3.36.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
* Support Java 17 and 21, default compilation to Java 17 class files
* Add profile "j21" to compile to Java 21 class files
* Bump ecj to 3.36.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Oct 18, 2024
* Support Java 17 and 21, default compilation to Java 17 class files
* Add profile "j21" to compile to Java 21 class files
* Bump ecj to 3.36.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants